<?php
/**
 * Created by PhpStorm.
 * User: Loong
 * Date: 2021/7/17
 * Time: 10:42
 */
namespace app\admin\model;
use think\Model;

class Brand extends Model
{

    public static function getBrandList($where,$whereOr)
    {
        return Brand::where($where)
            ->where(function ($query) use($whereOr){$query->whereOr($whereOr);})
            ->order('sort_order')->select();
    }

}